let json = {
    "0" : "jspang",
    "1" : "技术胖",
    "2" : "大胖逼逼叨",
    length : 3
}

let arr = Array.from(json);
console.log(arr);

let arr1 = Array.of(3,4,5,6);
console.log(arr1);

//下面将不能转换成数组
let str = '3,4,5,6';
console.log(Array.of(str));

//下面的可以转换
console.log(Array.of("jsjs",'abab'));

//实例方法
let arr3 = [1,2,3,4,5,6,,7,8,9];
console.log(arr3.find(function(value,indexe,arr3){
    return value>5;
}))

//返回的是对象值,而不是true,false;
console.log('字符串查找');
let arr4 = ['大胖逼逼叨','JSPang','技术胖'];
console.log(arr4.find(function(value,indexe,arr3){
    return value == 'JSPang';
}))